<?php 

unset($_SESSION['user']);
header('location: index.php?p=login');

?>